import request from '@/utils/request'

export function dttGetAll(searchData) {
    return request({
      url: '/services/app/StockService/GetAll',
      method: 'get',
      params: searchData
    })
  }

  export function dttCreated(dictTypeInfo) {
    return request({
      url: '/services/app/StockService/Create',
      method: 'post',
      data: dictTypeInfo
    })
  }

  export function del(id) {
    return request({
      url: '/services/app/StockService/Delete',
      method: 'delete',
      params: {Id:id}
    })
  }

  export function delAll(dd) {
    return request({
      url: '/services/app/StockService/Delete',
      method: 'delete',
      params: {Id:dd}
    })
  }

  //编辑反填
export function pagess(id) {
  return request({
    url: '/services/app/StockService/Get',
    method: 'get',
    params: {
      Id: id
    }
  })
}
//修改
export function Eintyess(tableData) {
  return request({
    url: '/services/app/StockService/Update',
    method: 'put',
    data: tableData
  })
}




export function dttGetAlls(searchData) {
  return request({
    url: '/services/app/LingYService/GetAll',
    method: 'get',
    params: searchData
  })
}

export function dttCreateds(dictTypeInfo) {
  return request({
    url: '/services/app/LingYService/Create',
    method: 'post',
    data: dictTypeInfo
  })
}

export function dels(id) {
  return request({
    url: '/services/app/LingYService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}

export function delAlls(dd) {
  return request({
    url: '/services/app/LingYService/Delete',
    method: 'delete',
    params: {Id:dd}
  })
}

//编辑反填
export function pagesss(id) {
return request({
  url: '/services/app/LingYService/Get',
  method: 'get',
  params: {
    Id: id
  }
})
}
//修改
export function Eintyesss(tableData) {
return request({
  url: '/services/app/LingYService/Update',
  method: 'put',
  data: tableData
})
}